package cn.tedu.backend.portal.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("attractions")
public class Attractions {
    @TableId(value = "aid", type = IdType.AUTO)
    private int aid;

  @TableField("aname")
  private String aname;

    @TableField("abelong")
    private String abelong;

  @TableField("agrade")
  private String agrade;

  @TableField("aaddress")
  private String aaddress;

  @TableField("adetail")
  private String adetail;

  @TableId("aticket")
  private int aticket;

  @TableField("aopentime")
  private String aopentime;

  @TableField("atype")
  private String atype;

  @TableField("arecommend")
  private String arecommend;

  @TableField("adegree")
  private String adegree;

  @TableField("aphone")
  private String aphone;

  @TableField("apicture")
  private String apicture;
}
